/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mvp.levelup.oop;

import mvp.levelup.oop.controller.UserFactory;
import mvp.levelup.oop.model.User;
import oop.model.UserTypes;

/**
 *
 * @author WORKSPOT2
 */
public class OOP
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        User newPlayer = UserFactory.createUser("Vasya", "The Player", UserTypes.PLAYER);
        System.out.println("PlayerId: " + newPlayer.getId());
        User newDonator = UserFactory.createUser("Petya", "The Donator", UserTypes.DONATOR);
        System.out.println("DonatorId: " + newDonator.getId());
    }
}
